<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <!--左侧菜单栏-->
    <nav th:fragment="leftNav" class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close"><i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element">
                    <span><img alt="image" class="img-circle" th:src="@{/img/profile_small.jpg}" src="../../static/img/profile_small.jpg" /></span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">Beaut-zihan</strong></span>
                                <span class="text-muted text-xs block">超级管理员<b class="caret"></b></span>
                                </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <li><a class="J_menuItem"  th:href="@{'/admin/goToUrl?url='+form_avatar}" href="form_avatar.html">修改头像</a>
                        </li>
                        <li><a class="J_menuItem" th:href="@{'/admin/goToUrl?url='+profile}" href="profile.html">个人资料</a>
                        </li>
                        <li><a class="J_menuItem" th:href="@{'/admin/goToUrl?url='+contacts}"  href="contacts.html">联系我们</a>
                        </li>
                        <li><a class="J_menuItem" th:href="@{'/admin/goToUrl?url='+mailbox}"  href="mailbox.html">信箱</a>
                        </li>
                        <li class="divider"></li>
                        <li><a  th:href="@{'/admin/goToUrl?url='+login}"  href="login.html">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">M
                </div>
            </li>
            <li>
                <a href="#">
                    <i class="fa fa-server"></i>
                    <span class="nav-label">系统管理</span>
                    <span class="fa arrow"></span>
                </a>
                <ul class="nav nav-second-level">
                    <li>
                        <a class="J_menuItem" th:href="@{'/admin/goToUrl?url='+'user/user_manager'}"  href="">用户管理</a>
                    </li>
                    <li>
                        <a class="J_menuItem" th:href="@{'/admin/goToUrl?url='+'role/role_manager'}"  href="">角色管理</a>
                    </li>
                    <li>
                        <a class="J_menuItem" th:href="@{'/admin/goToUrl?url='+'res/res_manager'}"  href="">权限管理</a>
                    </li>
                    <li>
                        <a href="#">监控分析 <span class="fa arrow"></span></a>
                        <ul class="nav nav-third-level">
                            <li>
                                <a class="J_menuItem" th:href="@{'/druid/'}">数据库监控</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a class="J_menuItem" th:href="@{'/doc.html'}">接口文档</a>
                    </li>
                </ul>

            </li>

        </ul>
    </div>
</nav>
</body>
</html>